package org.gruposp2p.aularest.model;

import java.util.Collection;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author jj
 */
@XmlRootElement(name = "subjects")
@XmlType
public class Subjects {

    private Collection<Subject>  subjectCollection;

    /**
     * @return the absenceCollection
     */
    @XmlElement(name="subject")
    public Collection<Subject> getSubjectCollection() {
        return subjectCollection;
    }

    /**
     * @param subjectCollection the subjectCollection to set
     */
    public void setSubjectCollection(
            Collection<Subject> subjectCollection) {
        this.subjectCollection = subjectCollection;
    }

}
